class AutoComplete::ProjectsController < ApplicationController

  def index
    @projects = Project.all :conditions => [
      'name like ? ',
      "%#{params[:project_name]}%"
    ]
  end

end
